package com.kang.service;

import com.kang.model.Student;

import java.util.List;

/**
 * Created by Administrator on 2018/1/10.
 */
public interface StudentService {

    Student getUserById(Integer id);

    public List<Student> getStudentList();

    public int add(Student student);

    public int update(Integer id, Student student);

    public int delete(Integer id);

    Student findStdByNameAndPwd(String name, String pwd);

    List<Student> findStdByName(String name);
}
